package com.tianqu.tms.dao;

import java.util.List;
import com.tianqu.tms.core.exception.TmsDaoException;
import com.tianqu.tms.dto.MarketCarInfoTempDto;

public interface MarketCarInfoTempDao {
	/** 查找车辆采集信息
	 * @param serial
	 * @return
	 * @throws TmsDaoException
	 */
	public List<MarketCarInfoTempDto> loadPadHistory()throws TmsDaoException;
	/** 根据ID查找车辆采集信息
	 * @param serial
	 * @return
	 * @throws TmsDaoException
	 */
	public MarketCarInfoTempDto findCarTempInfoById(long id)throws TmsDaoException;
	/** 是否匹对成功信息更新
	 * @param isMatch
	 * @return
	 * @throws TmsDaoException
	 */
	public void updateCarMatchInfo(MarketCarInfoTempDto dto)throws TmsDaoException;
	/** 车辆采集信息删除更新
	 * @param isMatch
	 * @return
	 * @throws TmsDaoException
	 */
	public void updateCarDeleteInfo(long id,int isMatch)throws TmsDaoException;
	/** 根据车架号查找车辆采集信息
	 * @param serial
	 * @return
	 * @throws TmsDaoException
	 */
	public MarketCarInfoTempDto findCarTempInfoByVin(String vin)throws TmsDaoException;
	
}
